package com.ccp.dev.workflow.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.workflow.model.TaskFork;

import java.util.Map;

public interface TaskForkDao extends IBaseMapper<TaskFork,String> {

    /**
     * 根据实例id删除
     * @param procInstId
     */
    void delByProcInstId(String procInstId);

    /**
     * 根据实例id、汇总节点、token查询
     * @param params
     * @return
     */
    TaskFork getByInstIdJoinTaskKeyForkToken(Map<String,Object> params);

}
